import { HTTP } from '../../util/http'

class Chatcontroller extends HTTP {
   
  //  请求聊天记录
  getTalking(data={}){
     const url = '/chat/listMyChat'
     return new Promise((resolve, reject)=>{
       this.request({
         data,
         url: url,
         newURL: true,
         success: resolve,
         method: 'GET'
       })
     })
  }

}




export { Chatcontroller }